import request from '@/utils/request'
// 平台轮播图列表数据
export function swiperList (data) {
  return request({
    url: '/platformBanner/getBannerAll',
    method: 'post',
    data
  })
}
// 平台轮播图添加
export function swiperAdd (data) {
  return request({
    url: '/platformBanner/bannerSave',
    method: 'post',
    data
  })
}
// 平台轮播图查看
export function swiperDetail (params) {
  return request({
    url: '/platformBanner/bannerInfo',
    method: 'post',
    params
  })
}
// 平台轮播图删除
export function swiperDelete (params) {
  return request({
    url: '/platformBanner/bannerDelete',
    method: 'post',
    params
  })
}

